﻿@model TracNghiem.Areas.Admin.Models.noidungdonModels

<div class="container_12">
    <div class="grid_12">
        <div class="module">
            <h2 align="right">
                <span><a href="@Url.Action("Index", "admin")">Quay lại</a></span></h2>
            <div class="module-body">
                @using (Html.BeginForm("lienket", "NoidungDon", FormMethod.Post, new { id = "Noidungdon" }))
                {                      
                    <div align="center">
                        <h3>
                            CẬP NHẬT BÀI VIẾT LIÊN KẾT</h3>
                        
                    </div>
                    if (TempData["msg"] != null)
                    {                            
                    <span class="notification n-success">@TempData["msg"]</span>
                    }  
                    <p>
                    </p>
                    <table>
                       
                        <p>
                            <label style="padding-left: 2%;padding-right:2%">
                                Nội dung:</label>
                            <div style="padding-left: 2%; ;padding-right:2%">
                                <textarea  id="editor1" rows="5"  name="NOIDUNG">@Model.noidung</textarea>
                        
         
      <script >
          CKEDITOR.replace('editor1',
{
    filebrowserBrowseUrl: '@Url.Content("~/Content/themes/ckfinder/ckfinder.html")',
    filebrowserImageBrowseUrl: '@Url.Content("~/Content/themes/ckfinder/ckfinder.html?type=Images")',
    filebrowserFlashBrowseUrl: '@Url.Content("~/Content/themes/ckfinder/ckfinder.html?type=Flash")',
    filebrowserUploadUrl: '@Url.Content("~/Content/themes/ckfinder/core/connector/aspx/connector.aspx?command=QuickUpload&type=Files")',
    filebrowserImageUploadUrl: '@Url.Content("~/Content/themes//ckfinder/core/connector/aspx/connector.aspx?command=QuickUpload&type=Images")',
    filebrowserFlashUploadUrl: '@Url.Content("~/Content/themes//ckfinder/core/connector/aspx/connector.aspx?command=QuickUpload&type=Flash")'
});
            </script>
                            </div>
                        </p>
                    </table>
                     <div class="button" align="center">
                        <p style="width: 25%; text-align: center">
                            <input type="hidden" name="baihoc_id" value="@ViewBag.baihoc_id" />
                            <input class="submit-green" type="submit" value="Cập Nhật" />
                            <input class="submit-gray" type="reset" value="Hủy" />
                        </p>
                    </div>
                }
            </div>
            <!-- End .module-body -->
        </div>
        <!-- End .module -->
        <div style="clear: both;">
        </div>
    </div>
    <!-- End .grid_12 -->
    <div style="clear: both;">
    </div>
</div>
<!-- End .container_12 -->
